home *** CD-ROM | disk | FTP | other *** search
/ Gekkan Dennou Club 147 / Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z / Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin / tools / ask / ksd / source / ksdapic.s < prev    next >
Text File  |  1997-05-06  |  874b  |  29 lines

  1. *--------------------------------------------------------------------
  2. *    KSD API呼びだし for C
  3. *--------------------------------------------------------------------
  4. * 必ず_KSDGetAPIを実行してから呼び出すこと
  5.  
  6.     .include    ksd.mac
  7.     .xref        KSDCallAPI    * API呼びだし
  8.     .text
  9.  
  10. *--------------------------------------------------------------------
  11.  
  12.     .xdef    _KSDCallAPI1d    * long KSDCallAPI1d(unchar com,long data)
  13. _KSDCallAPI1d:
  14.     move.l    8(sp),d1    * data
  15.     bra.s    @f
  16. *
  17.     .xdef    _KSDCallAPI2    * long KSDCallAPI2(unchar com,unchar *buff,long size)
  18. _KSDCallAPI2:
  19.     move.l    12(sp),d1    * size
  20.     .xdef    _KSDCallAPI1a    * long KSDCallAPI1a(unchar com,KSD_EF *ef)
  21. _KSDCallAPI1a:
  22.     move.l    8(sp),a2    * buff
  23. @@:    move.b    4+3(sp),d0    * d0.b=コマンド
  24.     jmp    KSDCallAPI    * API呼びだし
  25.                 * 飛び先からrtsする
  26.  
  27. *--------------------------------------------------------------------
  28.     .end
  29.